package cn.com.spic.demo.po;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.yonyou.iuap.baseservice.entity.AuditTrail;
import com.yonyou.iuap.baseservice.entity.MainBusinessObjectCode;
import com.yonyou.iuap.ucf.dao.BasePO;

import javax.persistence.Column;
import javax.persistence.Table;

@Table(name = "acion_detail_rate")
@JsonIgnoreProperties(ignoreUnknown = true)
public class ProgressReportPO extends BasePO implements AuditTrail, MainBusinessObjectCode {
    private static final long serialVersionUID = -427989020912686549L;
    @Column(name = "action_id")
    private String actionId;
    @Column(name = "actual_complete_rate")
    private String actualComRate;
    @Column(name = "spic_firstdept_id")
    private String spicFirstDeptId;
    @Column(name = "spic_secdept_id")
    private String spicSecDeptId;
    @Column(name = "task_describe")
    private String taskDescribe;
    @Column(name = "now_message")
    private String nowMessage;
    @Column(name = "timeout_message")
    private String timeOutMessage;
    @Column(name = "creator_id")
    private String creatorId;
    @Column(name = "telephone")
    private String telephone;
    @Column(name = "submit_year")
    private String submitYear;
    @Column(name = "submit_month")
    private String submitMonth;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT")
    @Column(name = "submit_date")
    private String submitDate;
    @Column(name = "def")
    private String def;

    @Column(name = "def1")
    private String def1;

    @Column(name = "def2")
    private String def2;

    @Column(name = "def3")
    private String def3;

    @Column(name = "def4")
    private String def4;

    @Column(name = "audit")
    private String audit;

    @Column(name = "encloIp")
    private String encloIp;

    public String getAudit() {
        return audit;
    }

    public void setAudit(String audit) {
        this.audit = audit;
    }

    @Column(name = "achievement_result")
    private String achievementResult;
    @Column(name = "selfNo")
    private String selfNo;//自己的序号，和excel行动项一一对应
    @Column(name = "specialId")
    private String specialId;//9大项的id


    public String getSpecialId() {
        return specialId;
    }

    public void setSpecialId(String specialId) {
        this.specialId = specialId;
    }

    public String getSelfNo() {
        return selfNo;
    }

    public void setSelfNo(String achievementResult) {
        this.selfNo = selfNo;
    }

    public String getAchievementResult() {
        return achievementResult;
    }

    public void setAchievementResult(String achievementResult) {
        this.achievementResult = achievementResult;
    }

    public String getDef() {
        return def;
    }

    public void setDef(String def) {
        this.def = def;
    }

    public String getDef1() {
        return def1;
    }

    public void setDef1(String def1) {
        this.def1 = def1;
    }

    public String getDef2() {
        return def2;
    }

    public void setDef2(String def2) {
        this.def2 = def2;
    }

    public String getDef3() {
        return def3;
    }

    public void setDef3(String def3) {
        this.def3 = def3;
    }

    public String getDef4() {
        return def4;
    }

    public void setDef4(String def4) {
        this.def4 = def4;
    }

    public String getActionId() {
        return actionId;
    }

    public void setActionId(String actionId) {
        this.actionId = actionId;
    }

    public String getActualComRate() {
        return actualComRate;
    }

    public void setActualComRate(String actualComRate) {
        this.actualComRate = actualComRate;
    }

    public String getTaskDescribe() {
        return taskDescribe;
    }

    public void setTaskDescribe(String taskDescribe) {
        this.taskDescribe = taskDescribe;
    }

    public String getNowMessage() {
        return nowMessage;
    }

    public void setNowMessage(String nowMessage) {
        this.nowMessage = nowMessage;
    }

    public String getTimeOutMessage() {
        return timeOutMessage;
    }

    public void setTimeOutMessage(String timeOutMessage) {
        this.timeOutMessage = timeOutMessage;
    }

    public String getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(String creatorId) {
        this.creatorId = creatorId;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getSubmitYear() {
        return submitYear;
    }

    public void setSubmitYear(String submitYear) {
        this.submitYear = submitYear;
    }

    public String getSubmitMonth() {
        return submitMonth;
    }

    public void setSubmitMonth(String submitMonth) {
        this.submitMonth = submitMonth;
    }

    public String getSubmitDate() {
        return submitDate;
    }

    public void setSubmitDate(String submitDate) {
        this.submitDate = submitDate;
    }

    public String getSpicFirstDeptId() {
        return spicFirstDeptId;
    }

    public void setSpicFirstDeptId(String spicFirstDeptId) {
        this.spicFirstDeptId = spicFirstDeptId;
    }

    public String getSpicSecDeptId() {
        return spicSecDeptId;
    }

    public void setSpicSecDeptId(String spicSecDeptId) {
        this.spicSecDeptId = spicSecDeptId;
    }

    @Override
    public String getCreateTime() {
        return null;
    }

    @Override
    public void setCreateTime(String createTime) {

    }

    @Override
    public String getCreateUser() {
        return null;
    }

    @Override
    public void setCreateUser(String createUser) {

    }

    @Override
    public String getLastModified() {
        return null;
    }

    @Override
    public void setLastModified(String lastModified) {

    }

    @Override
    public String getLastModifyUser() {
        return null;
    }

    @Override
    public void setLastModifyUser(String lastModifyUser) {

    }

    @Override
    public String getMainBoCode() {
        return this.getClass().getSimpleName().replace("PO", "");
    }
}
